import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class SuggestDateEntity with JsonConvert<SuggestDateEntity> {
  @JSONField(name: "financial_year_date")
  StartEndDateEntity financialYearDate;
  String type;
  @JSONField(name: "type_date")
  String typeDate;
  @JSONField(name: "system_date")
  String systemDate;
}

class SuggestDateListEntity with JsonConvert<SuggestDateListEntity> {
  @JSONField(name: "financial_year_date")
  StartEndDateEntity financialYearDate;
  String type;
  @JSONField(name: "type_date")
  List<StartEndDateEntity> typeDate;
  @JSONField(name: "system_date")
  String systemDate;
}

class StartEndDateEntity with JsonConvert<StartEndDateEntity> {
  String start;
  String end;
}
